﻿using System.Xml.Serialization;

namespace Partner.Utility
{
    public enum ErrorCodeEnum
    {
        /// <summary>
        /// 需要选择租户
        /// </summary>
        [XmlEnum("1001")]
        SelectTenant = 1001,
        /// <summary>
        /// 企业信息已存在
        /// </summary>
        [XmlEnum("1002")]
        TenantIsExist = 1002,
        /// <summary>
        /// 被访机构没定义
        /// </summary>
        [XmlEnum("1003")]
        TenantUndefined = 1003,
        /// <summary>
        /// 密码错误次数触发人机验证
        /// </summary>
        [XmlEnum("1004")]
        PwdErrorLimit =1004,
        /// <summary>
        /// 未绑定微信
        /// </summary>
        [XmlEnum("1005")]
        WechatNoBind = 1005,
        /// <summary>
        /// 微信授权失败
        /// </summary>
        [XmlEnum("1006")]
        WechatAuthFailed = 1006,
        /// <summary>
        /// 当前用户已经不可用
        /// </summary>
        [XmlEnum("1007")]
        UserNotAvailable =1007,
        /// <summary>
        /// 新建用户
        /// </summary>
        [XmlEnum("1008")]
        CreateUser = 1008,
        /// <summary>
        /// 用于用户选择提示
        /// </summary>
        [XmlEnum("1009")]
        Confrim =1009,
        /// <summary>
        /// 会员审核不通过
        /// </summary>
        [XmlEnum("1010")]
        MemberAuditFaild =1010,
    }
}